package main
import "fmt"
func main(){
	var a map[int]string
	
	fmt.Println("a = ", a)
	fmt.Printf("a type is : %T\tlen = %d\n", a, len(a))

	//a[1] = "nihao"
	a = make(map[int]string,1)
	a[1] = "nihao"
	a[2] = "Hello"
	a[5] = "你好呀"
	fmt.Println("a = ", a, "\tlen = ", len(a))
	
	
	fmt.Println("==========================================================")
	
	b := map[int]string{1:"Nihao", 2:"Hello"}
	fmt.Println("b = ", b, "\tlen = ", len(b))
	
	b[3] = "你好"
	fmt.Println("b = ", b, "\tlen = ", len(b))
	
	b[5] = "你好呀"
	fmt.Println("b = ", b, "\tlen = ", len(b))

}
